package com.woniuxy.dao;

import com.woniuxy.pojo.Car;
import com.woniuxy.pojo.Dictionary;
import com.woniuxy.pojo.Driver;
import com.woniuxy.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TempMapper {
    int VAO = 26;
    int PEC_OPTION = 7;
    int INS_TYPE = 9;
    int INS_UNIT = 27;

    Dictionary selectDictionaryById(int id);
    List<Dictionary> selectDictionarysByPid(int pid);

    Car selectCarById(int id);
    Driver selectDriverById(int id);
    Dictionary selectOptionById(int id);
    Dictionary selectVaoById(int id);
    User selectUserById(int id);

    List<Car> selectAllCars();
    List<Driver> selectAllDrivers();
    List<Dictionary> selectAllOptions();
    List<Dictionary> selectAllVaos();
    List<User> selectAllUsers();
}
